package com.zshan.clinic.admin.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.zshan.clinic.common.util.tree.TreeEntity;
import lombok.Data;

import java.util.List;


/**
 * 诊所菜单
 * @author lichen
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ClinicMenuTreeVo implements TreeEntity<ClinicMenuTreeVo> {

    /** 菜单ID */
    private Long menuId;

    /** 菜单名 */
    private String menuName;

    /** 父ID */
    private Long parentId;

    /** 图标 */
    private String icon;

    /** 菜单类型 */
    private String menuType;

    /** 权限标识 */
    private String perms;

    /** 路由地址 */
    private String path;

    /** 组件路径 */
    private String component;

    /**
     * 排序号
     */
    private Integer sortNum;

    /**
     * 是否启用
     */
    private String isEnabled;


    public List<ClinicMenuTreeVo> children;


    @Override
    public Long getId() {
        return this.menuId;
    }

    @Override
    public Long getParentId() {
        return this.parentId;
    }
}
